<div class="topimg">
  <img align="center" src="/images/ship_to_img.png"/>
</div>
<div class="search">
  <h3>收货人信息</h3>
   <%= "<p style='color: green'>#{flash[:notice]}</p>" if flash[:notice] %>
  <div class="form_format">
    <% form_for(@order) do |f| %>
      <%= f.error_messages %>
      <p>
        <%= f.label :ship_to_name,"收货人" %>
        <%= f.text_field :ship_to_name %>*
      </p>
      <p>
        <%= f.label :phone_number ,"电话"%>
        <%= f.text_field :phone_number %>*
      </p>
       <p>
        <%= f.label :email,"邮箱" %>
        <%= f.text_field :email %>*
      </p>
      <p>
        <%= f.label :ship_to,"收货地址" %>
        <%= f.text_area :ship_to %>*
      </p>
<p class="clear"></p>
      <p>
        <%= f.label :ship_to_code,"收货地邮编" %>
        <%= f.text_field :ship_to_code %>*
      </p>
<p class="clear"></p>
      <p>
        <%= f.submit "提交订单",:class=>"long-btn" %>
      </p>
    <% end %>
  </div>
  <fieldset class="demo">
  <LEGEND>填写订单：</LEGEND>
  <p>
    注：*号为必填
  </p>
</fieldset>
</div>


